SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34258: An error occurs when you use PROC IMPORT to read an SPSS file with a user-defined format that has the same name as a SAS format

DetailsHotfixAboutRate It

When you use the IMPORT procedure to read an SPSS file that contains a user-defined format with the same name as a SAS format, the following error might occur:

proc import datafile='c:\myfiles\data.sav'
            dbms=sav 
            out=work.test; 
run;

ERROR: Cannot create PROC FORMAT style format 
with the same name as an Institute-supplied format

To avoid this problem, do one of the following:

  • Remove the user-defined format.
  • Change the name of the variable in SPSS before using PROC IMPORT.
  • Remove the format in SAS after running PROC IMPORT.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft® Windows® for x649.1 TS1M3 SP49.2 TS2M2
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS2M2
Windows Vista9.1 TS1M3 SP49.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.